﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using WeiboFilter.KeywordsRelated;
namespace WeiboFilter
{

    public partial class GetKeywords : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void btnGetKeywords_Click(object sender, EventArgs e)
        {
            KeyWords instance = new KeyWords(txtInput.Text);
            repKeyWords.DataSource = instance.getTopNwords(5);
            repKeyWords.DataBind();

        }
    }
}